package com.tjise.g_fats_enemy.springboot.dao;

import com.tjise.g_fats_enemy.springboot.po.TopType;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface TopTypeDao {
    @Select("SELECT * from top_type ORDER BY count DESC LIMIT 5")
    List<TopType> findTopType();
}
